package com.example.demo.entity;



import com.example.demo.Controller.vo.shangpin;

import java.io.Serializable;
import java.util.Date;

public class TProduct implements Serializable {
private Integer id;
private String name;
private String desc;
private Date createdate;
private Integer quantity;
private Integer price;
    public TProduct() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "TProduct{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", createdate=" + createdate +
                ", quantity=" + quantity +
                ", price=" + price +
                '}';
    }

}